#ifndef QMYTHREAD_H
#define QMYTHREAD_H
#include <QThread>

/**
 * @brief The QThreadDAQ class
 * 数据采集线程
 */
class QThreadDAQ : public QThread
{
    Q_OBJECT
private:
    bool m_stop = false;
protected:
    void run() Q_DECL_OVERRIDE;
public:

public:
    QThreadDAQ();
    void stopThread();
};

/**
 * @brief The QThreadShow class
 * 数据读取线程
 */
class QThreadShow : public QThread{
    Q_OBJECT
private:
    bool m_stop = false;
protected:
    void run() Q_DECL_OVERRIDE;
public:
    QThreadShow();
    void stopThread();
signals:
    void newValue(int *data, int count, int seq);
};

#endif // QMYTHREAD_H
